<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<jsp:include page="top.jsp"></jsp:include>
<!-- START:wrapper -->
<div id="wrapper">
<!-- InstanceBeginEditable name="wrapper" -->

<!-- START:wrapper-fff -->
<div class="wrapper-fff">

<!-- START:main -->
<div id="main">

<!-- START:zbrz -->
<div class="zbrz">

<div class="zbrz-tit">您好，请填写申请材料</div>

<!-- START:zbrz-info -->
<div class="zbrz-info">


<script>
<!--
/*第一种形式 第二种形式 更换显示样式*/
    function setTab(name,cursel,n){
	    for(i=1;i<=n;i++){
		    var menu=document.getElementById(name+i);
		    var con=document.getElementById("con_"+name+"_"+i);
		    menu.className=i==cursel?"hover":"";
		    con.style.display=i==cursel?"block":"none";
	    }
    }
//-->
</script>

<script type="text/javascript" language="javascript"> 
	$(function(){ 
		$("#userLocationCode0").unbind("change", eDropLangChange).bind("change", eDropLangChange); 
		$("#userLocationCode").unbind("change", eDropFrameChange).bind("change", eDropFrameChange); 
		$("#orgRegLocationCode0").unbind("change", eDropLangChange2).bind("change", eDropLangChange2); 
		$("#orgRegLocationCode").unbind("change", eDropFrameChange2).bind("change", eDropFrameChange2); 
	}); 
	var eDropLangChange = function(){ 
		var selectedValue = $(this).val(); 
		$("#userLocationCode").children("span").each(function(){ 
			$(this).children().clone().replaceAll($(this)); 
		}); 

		if(parseInt(selectedValue) != 0){ 
			$("#userLocationCode").children("option[parentid!='" + selectedValue + "'][value!='0']").each(function(){ 
				$(this).wrap("<span style='display:none'></span>"); 
			}); 
		} 
	}; 
	var eDropFrameChange = function(){  
		$("#userLocationCode0").val($(this).children("option:selected").attr("parentid")); 
	}; 
	
	var eDropLangChange2 = function(){ 
		var selectedValue = $(this).val(); 
		$("#orgRegLocationCode").children("span").each(function(){ 
			$(this).children().clone().replaceAll($(this)); 
		}); 

		if(parseInt(selectedValue) != 0){ 
			$("#orgRegLocationCode").children("option[parentid!='" + selectedValue + "'][value!='0']").each(function(){ 
				$(this).wrap("<span style='display:none'></span>"); 
			}); 
		} 
	}; 
	var eDropFrameChange2 = function(){  
		$("#orgRegLocationCode0").val($(this).children("option:selected").attr("parentid")); 
	}; 
	
	/*	2014年9月1日21:36:07                          */
	/*=======================================*/
	$(document).ready(function(){
		
	});
	
	//表单提交新增失败后,返回回调函数,传回错误信息
	function uploadSucced(msg){
	//	var btn = $("#createPeriadBtn");
	//	btn.button('reset');
		$("#firstUploadSucceedMsg").html(msg);
		$("#firstUploadSucceed").show();
		$("#firstUploadFailed").hide();
		var strs = new Array();
		strs = msg.split("&");
		if(strs[1]=="1"){
			document.getElementById("userCertFrontPhotoImg").src=path + strs[0];
			$("#userCertFrontPhotoUrlInput").val(strs[0]);
		}else if(strs[1]=="0"){
			document.getElementById("userCertObversePhotoImg").src=path + strs[0];
			$("#userCertObversePhotoUrlInput").val(strs[0]);
		}else if(strs[1]=="2"){
			document.getElementById("orgBusinessCertPhotoImg").src=path + strs[0];
			$("#orgBusinessCertPhotoUrlInput").val(strs[0]);
		}else if(strs[1]=="3"){
			document.getElementById("orgTaxRegCertPhotoImg").src=path + strs[0];
			$("#orgTaxRegCertPhotoUrlInput").val(strs[0]);
		}
	}
	function uploadSucced2(msg){
	//	var btn = $("#createPeriadBtn");
	//	btn.button('reset');
		$("#firstUploadSucceedMsg").html(msg);
		$("#firstUploadSucceed").show();
		$("#firstUploadFailed").hide();
		var strs = new Array();
		strs = msg.split("&");
		if(strs[1]=="1"){
			document.getElementById("userCertFrontPhotoImg2").src=path + strs[0];
			$("#userCertFrontPhotoUrlInput2").val(strs[0]);
		}else if(strs[1]=="0"){
			document.getElementById("userCertObversePhotoImg2").src=path + strs[0];
			$("#userCertObversePhotoUrlInput2").val(strs[0]);
		}
	}
	//表单提交修改失败后，传回提示信息
	function uploadFailed(msg){
	//	var btn = $("#updateperiadBtn");
	//	btn.button('reset');
		$("#firstUploadFailedMsg").html(msg);
		$("#firstUploadFailed").show();
		$("#firstUploadSucceed").hide();
	}
	
	</script> 

<!-- START:zbrz-tab -->
<div id="zbrz-tab">

<!-- START:tab-menu -->
<div class="tab-menu">
<ul>
<li id="one1" onclick="setTab('one',1,2)" class="hover"><input name="" type="radio" value="" />&nbsp;我是企业</li>
<li id="one2" onclick="setTab('one',2,2)" ><input name="" type="radio" value="" />&nbsp;我是个人</li>
</ul>
</div>
<!-- END:tab-menu -->

<!-- START:zbrz-tab-con -->
<div class="zbrz-tab-con">
<div id="errmsg"  style="color: #FFFFFF; font-size: 12px; ">&nbsp;</div>
<!-- START:con_one_1 -->
<div id="con_one_1" class="hover">
<form id="comDemindCertifyForm" >
		<!-- START:zbrz-info-qiye -->
		<div class="zbrz-info-qiye">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="zbrz-tabel-qiye" >
				<tr>
					<th><img src="shared/images/zbrz_img_01.gif" width="104" height="24" alt="img" /></th>
					<td>&nbsp;</td>
				</tr>
				
				<tr>
					<th><span>*</span>企业名称：</th>
					<td>
						<input type="text" value="${user.orgName}" name="orgName" id="orgName" class="zbrz-left-input" />
						</br><div id="errmsg_orgName" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>企业法人姓名：</th>
					<td>
						<input type="text" value="${user.orgLawfulManName}" name="orgLawfulManName" id="orgLawfulManName" class="zbrz-left-input-b" />
						</br><div id="errmsg_orgLawfulManName" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>营业执照注册号：</th>
					<td>
						<input type="text" value="${user.orgBusinessCertPhotoNo}" name="orgBusinessCertPhotoNo" id="orgBusinessCertPhotoNo" class="zbrz-left-input-b" />
						</br><div id="errmsg_orgBusinessCertPhotoNo" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>营业执照所在地：</th>
					<td>
					
						<select id="orgRegLocationCode0" name="orgRegLocationCode0" class="zbrz-left-select"> 
							<option value="0" selected="selected">--省份--</option> 
							<c:if test="${!empty locations}">
								<c:forEach var="location" items="${locations}">
									<c:if test="${location.locationCode==location.pLocationCode}">
										<fmt:parseNumber var="prov" integerOnly="true" type="number" value="${(user.orgRegLocationCode/1000)}" />
										<c:if test="${location.locationCode==prov}">
											<option value="${location.locationCode}" selected="selected">${location.locationName}</option>
										</c:if>
										<c:if test="${location.locationCode!=prov}">
											<option value="${location.locationCode}">${location.locationName}</option>
										</c:if>
									</c:if>
								</c:forEach>
							</c:if> 
						</select> 
						<select id="orgRegLocationCode" name="orgRegLocationCode" class="zbrz-left-select"> 
							<option value="0" selected="selected">--城市-- </option>
							<c:if test="${!empty locations}">
								<c:forEach var="location" items="${locations}">
									<c:if test="${location.locationCode!=location.pLocationCode}">
										<c:if test="${location.locationCode==user.orgRegLocationCode }">
											<option value="${location.locationCode}" parentid="${location.pLocationCode}" selected="selected">${location.locationName}</option>
										</c:if>
										<c:if test="${location.locationCode!=user.orgRegLocationCode }">
											<option value="${location.locationCode}" parentid="${location.pLocationCode}" >${location.locationName}</option>
										</c:if>
									</c:if>
								</c:forEach>
							</c:if> 
						</select> 
						</br><div id="errmsg_orgRegLocationCode" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>常用地址：</th>
					<td>
						<input type="text" value="${user.orgCurAddr}" name="orgCurAddr" id="orgCurAddr" class="zbrz-left-input-b" />
						</br><div id="errmsg_orgCurAddr" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>联系电话：</th>
					<td>
						<input type="text" value="${user.orgPhoneNo}" name="orgPhoneNo" id="orgPhoneNo" class="zbrz-left-input-b" />
						</br><div id="errmsg_orgPhoneNo" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
			<!-- 	<tr>
				<th><span>*</span>营业执照副本扫描件：</th>
				<td><a href="#"><img src="shared/images/button_zbrz_up.gif" width="96" height="36" alt="img" /></a></td>
				</tr>
				
				<tr>
				<th><span>*</span>业税务登记证件扫描件：</th>
				<td><a href="#"><img src="shared/images/button_zbrz_up.gif" width="96" height="36" alt="img" /></a></td>
				</tr> -->
				
				<tr>
					<th><span>*</span>组织机构代码：</th>
					<td>
						<input type="text" name="orgCode" value="${user.orgCode }" id="orgCode" class="zbrz-left-input" />
						</br><div id="errmsg_orgCode" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>经营范围：</th>
					<td>
						
						<c:if test="${!empty targets}">
							<c:forEach var="cert" items="${targets}">
								<c:if test="${cert.recordStatusCode=='2'}">
									<input type="checkbox" name="targets" value="${cert.targetCode}" checked="checked"> ${cert.targetName} 
								</c:if>
								<c:if test="${cert.recordStatusCode!='2'}">
									<input type="checkbox" name="targets" value="${cert.targetCode}"> ${cert.targetName} 
								</c:if>
							</c:forEach>
						</c:if>
						<!-- <select name="select2" id="select2" class="zbrz-left-select-fw">
						    <option>请选择</option>
						</select> -->
						</br><div id="errmsg_targets" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>注册资本：</th>
					<td>
						<input type="text" name="orgRegCapital" value="${user.orgRegCapital }" id="orgRegCapital" class="zbrz-left-input" />
						</br><div id="errmsg_orgRegCapital" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
				<th>备注：</th>
				<td>
					<textarea value="" name="remark" id="remark"  cols="45" rows="5" class="zbrz-left-textarea">${user.remark}</textarea>
					</br><div id="errmsg_remark" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
				</td>
				</tr>
			</table>
	
		</div>
		<!-- END:zbrz-info-qiye -->
	
		<!-- START:zbrz-info-geren -->
		<div class="zbrz-info-geren">
	
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="zbrz-tabel-geren" >
				<tr>
					<th><img src="shared/images/zbrz_img_02.gif" width="116" height="24" alt="img" /></th>
					<td>&nbsp;</td>
				</tr>
				
				<tr>
					<th><span>*</span>申请人姓名：</th>
					<td>
						<input type="text" name="userName" id="userName" value="${user.userName}" class="zbrz-left-input" />
						</br><div id="errmsg_userName" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>当前职位：</th>
					<td>
						<input type="text" name="userCurrPosition" value="${user.userCurrPosition }" id="userCurrPosition" class="zbrz-left-input-b" />
						</br><div id="errmsg_userCurrPosition" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>申请人证件：</th>
					<td>
						<select id="userCertTypeCode" name="userCertTypeCode" class="zbrz-left-select-fw">
							<c:if test="${!empty certs}">
								<c:forEach var="cert" items="${certs}">
									<c:if test="${cert.codeId==user.userCertTypeCode}">
										<option value="${cert.codeId }" selected="selected">${cert.codeDesc}</option>
									</c:if>
									<c:if test="${cert.codeId!=user.userCertTypeCode}">
										<option value="${cert.codeId }">${cert.codeDesc}</option>
									</c:if>
								</c:forEach>
							</c:if>
		                 </select>
		                 </br><div id="errmsg_userCertTypeCode" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th></th>
					<td>
						<input type="text" name="userCertNo" value="${user.userCertNo }" id="userCertNo" class="zbrz-left-input" placeholder="申请人证件编号" />
						</br><div id="errmsg_userCertNo" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<!-- <tr>
				<th><span>*</span>申请人证件扫描件：</th>
				<td><a href="#"><img src="shared/images/button_zbrz_up.gif" width="96" height="36" alt="img" /></a></td>
				</tr> -->
				
				<tr>
					<th><span>*</span>申请人手机号码：</th>
					<td>
						<input type="text" value="${user.userMobile }" name="userMobile" id="userMobile" class="zbrz-left-input" />
						</br><div id="errmsg_userMobile" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>申请人邮箱：</th>
					<td>
						<input type="text" name="userEmail" id="userEmail" value="${user.userEmail }" class="zbrz-left-input" />
						</br><div id="errmsg_userEmail" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>个人说明：</th>
					<td>
						<textarea name="userDesc" id="userDesc" value="" cols="45" rows="5" class="zbrz-left-textarea" placeholder="必填不少于10个字">${user.userDesc}</textarea>
						</br><div id="errmsg_userDesc" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
						<input type="hidden" value="${user.userCertFrontPhotoUrl}" name="userCertFrontPhotoUrl" id="userCertFrontPhotoUrlInput" >    
						<input type="hidden" value="${user.userCertObversePhotoUrl}" name="userCertObversePhotoUrl" id="userCertObversePhotoUrlInput" >    
						<input type="hidden" value="${user.orgBusinessCertPhotoUrl}" name="orgBusinessCertPhotoUrl" id="orgBusinessCertPhotoUrlInput" >    
						<input type="hidden" value="${user.orgTaxRegCertPhotoUrl}" name="orgTaxRegCertPhotoUrl" id="orgTaxRegCertPhotoUrlInput" >    
					</td>
				</tr>
			</table>
	
		</div>
		<!-- END:zbrz-info-geren -->
	</form>	
	
	<form id ="firstUpdateForm" action="<%=path%>/user/uploadFile.do?imgType=1" method="post"
	    enctype="multipart/form-data" class="form-horizontal" role="form" target="hidden_frame">
	    <div class="zbrz-info-qiye">
	    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="zbrz-tabel-qiye" >
			<tr>
				<th><span></span>申请人证件正面:</th>
				<td><input type="file" id="firstDemoImgFile" name="imgFile"></td>
			</tr>
			<tr>
				<th><span>&nbsp;</span><button id="createPeriadBtn" type="submit" class="btn btn-default">上传</button></th>
				<td>
					<c:if test="${user.userCertFrontPhotoUrl != null}">
						<img style="width:200px;height:117px;" id="userCertFrontPhotoImg" src="<%=path%>${user.userCertFrontPhotoUrl}" />
					</c:if>
					<c:if test="${user.userCertFrontPhotoUrl == null}">
						<img style="width:200px;height:117px;" id="userCertFrontPhotoImg" src="<%=path%>/img/test.jpg" />
					</c:if>
					</br><div id="errmsg_userCertFrontPhotoUrl" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
				</td>
			</tr>
		</table>
		</div>
	</form> 
	
	
	
	<form id ="firstUpdateForm" action="<%=path%>/user/uploadFile.do?imgType=2" method="post"
	    enctype="multipart/form-data" class="form-horizontal" role="form" target="hidden_frame">
	    <div class="zbrz-info-qiye">
	     <table width="100%" border="0" cellspacing="0" cellpadding="0" class="zbrz-tabel-qiye" >
			<tr>
				<th><span></span> 营业执照证件上传:</th>
				<td><input type="file" id="firstDemoImgFile" name="imgFile"></td>
			</tr>
			<tr>
				<th><span>&nbsp;</span><button id="createPeriadBtn" type="submit" class="btn btn-default">上传</button></th>
				<td>
					<c:if test="${user.orgBusinessCertPhotoUrl != null}">
						<img style="width:200px;height:117px;" id="orgBusinessCertPhotoImg"src="<%=path%>${user.orgBusinessCertPhotoUrl}" />
					</c:if>
					<c:if test="${user.orgBusinessCertPhotoUrl == null}">
						<img style="width:200px;height:117px;" id="orgBusinessCertPhotoImg"src="<%=path%>/img/test.jpg" />
					</c:if>
					</br><div id="errmsg_orgBusinessCertPhotoUrl" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
				</td>
			</tr>
		</table>
		</div>
	</form> 
	
	<form id ="firstUpdateForm" action="<%=path%>/user/uploadFile.do?imgType=0" method="post"
	    enctype="multipart/form-data" class="form-horizontal" role="form" target="hidden_frame">
	    <div class="zbrz-info-qiye">
	     <table width="100%" border="0" cellspacing="0" cellpadding="0" class="zbrz-tabel-qiye" >
			<tr>
				<th><span></span>申请人证件反面:</th>
				<td><input type="file" id="firstDemoImgFile" name="imgFile"></td>
			</tr>
			<tr>
				<th><span>&nbsp;</span><button id="createPeriadBtn" type="submit" class="btn btn-default">上传</button></th>
				<td>
					<c:if test="${user.userCertObversePhotoUrl != null}">
						<img style="width:200px;height:117px;" id="userCertObversePhotoImg"src="<%=path%>${user.userCertObversePhotoUrl}" />
					</c:if>
					<c:if test="${user.userCertObversePhotoUrl == null}">
						<img style="width:200px;height:117px;" id="userCertObversePhotoImg"src="<%=path%>/img/test.jpg" />
					</c:if>
					</br><div id="errmsg_userCertObversePhotoUrl" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
				</td>
			</tr>
		</table>
		</div>
	</form> 
	
	<form id ="firstUpdateForm" action="<%=path%>/user/uploadFile.do?imgType=3" method="post"
	    enctype="multipart/form-data" class="form-horizontal" role="form" target="hidden_frame">
	    <div class="zbrz-info-qiye">
	     <table width="100%" border="0" cellspacing="0" cellpadding="0" class="zbrz-tabel-qiye" >
			<tr>
				<th><span></span> 税务登记证件上传:</th>
				<td><input type="file" id="firstDemoImgFile" name="imgFile"></td>
			</tr>
			<tr>
				<th><span>&nbsp;</span><button id="createPeriadBtn" type="submit" class="btn btn-default">上传</button></th>
				<td>
					<c:if test="${user.orgTaxRegCertPhotoUrl != null}">
						<img style="width:200px;height:117px;" id="orgTaxRegCertPhotoImg"src="<%=path%>${user.orgTaxRegCertPhotoUrl}" />
					</c:if>
					<c:if test="${user.orgTaxRegCertPhotoUrl == null}">
						<img style="width:200px;height:117px;" id="orgTaxRegCertPhotoImg"src="<%=path%>/img/test.jpg" />
					</c:if>
					</br><div id="errmsg_orgTaxRegCertPhotoUrl" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
				</td>
			</tr>
		</table>
		</div>
	</form> 
	
	<div id="firstUploadSucceed" style="display: none;">
	    <strong>文件上传成功！</strong><span id="firstUploadSucceedMsg"></span>
	</div>
	<div id="firstUploadFailed" style="display: none;">
	    <strong>对不起！文件上传失败！</strong><span id="firstUploadFailedMsg"></span>
	</div>
	<iframe name='hidden_frame' id="hidden_frame" style='display:none'></iframe>
<!-- 	<a href="javascript:comDemindCertify();">提交</a> -->
	
	
<br clear="all" />
<div class="zbrz-submit-qiye">
	<a href="javascript:comDemindCertify();">
		<img src="shared/images/button_zbrz_ok.gif" width="142" height="51" alt="img" />
	</a>
</div>

</div>
<!-- END:con_one_1 -->

<!-- START:con_one_2 -->
<div id="con_one_2" style="display:none">
	<form id="perDemindCertifyForm" >
	<!-- START:zbrz-info-wsgr -->
	<div class="zbrz-info-wsgr">
	
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="zbrz-tabel-qiye" >
				<tr>
					<th><img src="shared/images/zbrz_img_02.gif" width="116" height="24" alt="img" /></th>
					<td>&nbsp;</td>
				</tr>
				
				<tr>
					<th><span>*</span>申请人姓名：</th>
					<td>
						<input class="zbrz-left-input" type="text" name="userName" id="userName" value="${user.userName}" />
						</br><div id="errmsg_userName2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>申请人证件：</th>
					<td>
						<select class="zbrz-left-select-fw" id="userCertTypeCode" name="userCertTypeCode">
							<c:if test="${!empty certs}">
								<c:forEach var="cert" items="${certs}">
									<c:if test="${cert.codeId==user.userCertTypeCode}">
										<option value="${cert.codeId }" selected="selected">${cert.codeDesc}</option>
									</c:if>
									<c:if test="${cert.codeId!=user.userCertTypeCode}">
										<option value="${cert.codeId }">${cert.codeDesc}</option>
									</c:if>
								</c:forEach>
							</c:if>
		                 </select>
		                 </br><div id="errmsg_userCertTypeCode2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th></th>
					<td>
						<input type="text" name="userCertNo" value="${user.userCertNo }" id="userCertNo" class="zbrz-left-input" placeholder="申请人证件编号" />
						</br><div id="errmsg_userCertNo2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<!-- <tr>
				<th><span>*</span>申请人证件扫描件：</th>
				<td><a href="#"><img src="shared/images/button_zbrz_up.gif" width="96" height="36" alt="img" /></a></td>
				</tr> -->
				
				<tr>
					<th><span>*</span>申请人手机号码：</th>
					<td>
						<input type="text" value="${user.userMobile }" name="userMobile" id="userMobile" class="zbrz-left-input" />
						</br><div id="errmsg_userMobile2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>申请人邮箱：</th>
					<td>
						<input type="text" name="userEmail" id="userEmail" value="${user.userEmail }" class="zbrz-left-input" />
						</br><div id="errmsg_userEmail2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>所在区域：</th>
					<td>
						<select id="userLocationCode0" name="userLocationCode0" class="zbrz-left-select"> 
							<option value="0" selected="selected">--省份--</option> 
							<c:if test="${!empty locations}">
								<c:forEach var="location" items="${locations}">
									<c:if test="${location.locationCode==location.pLocationCode}">
										<fmt:parseNumber var="pro" integerOnly="true" type="number" value="${(user.userLocationCode/1000)}" />
										<c:if test="${location.locationCode==pro}">
											<option value="${location.locationCode}" selected="selected">${location.locationName}</option>
										</c:if>
										<c:if test="${location.locationCode!=pro}">
											<option value="${location.locationCode}">${location.locationName}</option>
										</c:if>
									</c:if>
								</c:forEach>
							</c:if> 
						</select> 
						<select id="userLocationCode" name="userLocationCode" class="zbrz-left-select"> 
							<option value="0" selected="selected" parentid="0">--城市-- </option>
							<c:if test="${!empty locations}">
								<c:forEach var="location" items="${locations}">
									<c:if test="${location.locationCode!=location.pLocationCode}">
										<c:if test="${location.locationCode==user.userLocationCode }">
											<option value="${location.locationCode}" parentid="${location.pLocationCode}" selected="selected">${location.locationName}</option>
										</c:if>
										<c:if test="${location.locationCode!=user.userLocationCode }">
											<option value="${location.locationCode}" parentid="${location.pLocationCode}" >${location.locationName}</option>
										</c:if>
									</c:if>
								</c:forEach>
							</c:if> 
						</select> 
						</br><div id="errmsg_userLocationCode2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>详细地址：</th>
					<td>
						<input type="text" name="userAddrDetail" value="${user.userAddrDetail }" id="userAddrDetail" class="zbrz-left-input" />
						</br><div id="errmsg_userAddrDetail2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>当前职位：</th>
					<td>
						<input type="text" name="userCurrPosition" value="${user.userCurrPosition }" id="userCurrPosition" class="zbrz-left-input" />
						</br><div id="errmsg_userCurrPosition2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>行业工作年限：</th>
					<td>
						<input type="text" name="userWorkYears" value="${user.userWorkYears }" id="userWorkYears" class="zbrz-left-input" />
						</br><div id="errmsg_userWorkYears2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>备用联系人手机号：</th>
					<td>
						<input type="text" value="${user.backupContactPersonMobile}" name="backupContactPersonMobile" id="backupContactPersonMobile" class="zbrz-left-input" />
						</br><div id="errmsg_backupContactPersonMobile2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
					</td>
				</tr>
				
				<tr>
					<th><span>*</span>个人说明：</th>
					<td>
						<textarea name="userDesc" id="userDesc" value="" cols="45" rows="5" class="zbrz-wsgr-textarea" placeholder="例如：1.姓名 2.工作年限 3.项目经验 A项目：B项目：">${user.userDesc}</textarea>
						</br><div id="errmsg_userDesc2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
						<input type="hidden" value="${user.userCertFrontPhotoUrl}" name="userCertFrontPhotoUrl" id="userCertFrontPhotoUrlInput2" >    
						<input type="hidden" value="${user.userCertObversePhotoUrl}" name="userCertObversePhotoUrl" id="userCertObversePhotoUrlInput2" >    
					</td>
				</tr>
				
				<!-- <tr>
				<th></th>
				<td><img src="shared/images/zbrz_img_wsgr.gif" width="312" height="69" alt="img" /></td>
				</tr> -->
			</table>
		
	</div>
	<!-- END:zbrz-info-wsgr -->
</form>
	
	<form id ="firstUpdateForm" action="<%=path%>/user/uploadFile.do?imgType=1&function=geren" method="post"
	    enctype="multipart/form-data" class="form-horizontal" role="form" target="hidden_frame">
	    <div class="zbrz-info-wsgr">
	    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="zbrz-tabel-qiye" >
			<tr>
				<th><span>*</span>个人身份证正面:</th>
				<td><input type="file" id="firstDemoImgFile" name="imgFile"></td>
			</tr>
			<tr>
				<th><span>&nbsp;</span><button id="createPeriadBtn" type="submit" class="btn btn-default">上传</button></th>
				<td>
					<c:if test="${user.userCertFrontPhotoUrl != null}">
						<img style="width:200px;height:117px;" id="userCertFrontPhotoImg2" src="<%=path%>${user.userCertFrontPhotoUrl}" />
					</c:if>
					<c:if test="${user.userCertFrontPhotoUrl == null}">
						<img style="width:200px;height:117px;" id="userCertFrontPhotoImg2" src="<%=path%>/img/test.jpg" />
					</c:if>
					</br><div id="errmsg_userCertFrontPhotoUrlInput2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
				</td>
			</tr>
		</table>
		</div>
	</form> 
	<form id ="firstUpdateForm" action="<%=path%>/user/uploadFile.do?imgType=0&function=geren" method="post"
	    enctype="multipart/form-data" class="form-horizontal" role="form" target="hidden_frame">
	    <div class="zbrz-info-wsgr">
	    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="zbrz-tabel-qiye" >
			<tr>
				<th><span>*</span>个人身份证反面:</th>
				<td><input type="file" id="firstDemoImgFile" name="imgFile"></td>
			</tr>
			<tr>
				<th><span>&nbsp;</span><button id="createPeriadBtn" type="submit" class="btn btn-default">上传</button></th>
				<td>
					<c:if test="${user.userCertObversePhotoUrl != null}">
						<img style="width:200px;height:117px;" id="userCertObversePhotoImg2"src="<%=path%>${user.userCertObversePhotoUrl}" />
					</c:if>
					<c:if test="${user.userCertObversePhotoUrl == null}">
						<img style="width:200px;height:117px;" id="userCertObversePhotoImg2"src="<%=path%>/img/test.jpg" />
					</c:if>
					</br><div id="errmsg_userCertObversePhotoUrlInput2" class="errmsg" style="color: #FFFFFF; font-size: 12px; "></div>
				</td>
			</tr>
		</table>
		</div>
	</form> 
	<div id="firstUploadSucceed" style="display: none;">
	    <strong>文件上传成功！</strong></span>
	</div>
	<div id="firstUploadFailed" style="display: none;">
	    <strong>文件上传失败！</strong></span>
	</div>
	<iframe name='hidden_frame' id="hidden_frame" style='display:none'></iframe>
	<!-- <a href="javascript:perDemindCertify();">
	<img src="shared/images/zbrz_img_wsgr.gif" width="312" height="69" alt="img" />
	</a>
	 -->
	
	
	<br clear="all" />
<div class="zbrz-submit-qiye">
	<a href="javascript:perDemindCertify();">
		<img src="shared/images/zbrz_img_wsgr.gif" width="142" height="51" alt="img" />
	</a>
</div>
	
	
</div>
<!-- END:con_one_2 -->

</div>
<!-- END:zbrz-tab-con -->
  
</div>
<!-- END:zbrz-tab -->

</div>
<!-- END:zbrz-info -->

<!-- START:zbrz-fuwu -->
<div class="zbrz-fuwu">

<div class="zbrz-fuwu-tit">需求方认证享受的服务如下:</div>

<ul class="zbrz-navi-fuwu">
<li>发布商品 , 让设计师和消费者足不出户即可了解你的产品</li>
<li>管理商品 , 对商品进行上下架、编辑等操作让你的商品更加吸引力</li>
<li>店铺装修 , 替换店铺主题 , 修改店铺海报让店铺与众不同</a></li>
<li>关联模型 , 为你的商品绑定一个或者多个模型,让你的商品真正书数据化</li>
<li>数联数字精装 , 让你的商品信息通过热点的形式出现在设计师的方案中 , 出现在报价清单中持续更新中··</li>

</ul>

</div>
<!-- END:zbrz-fuwu -->

</div>
<!-- END:zbrz -->

</div>
<!-- END:main -->

</div>
<!-- END:wrapper-fff -->

<!-- InstanceEndEditable -->
</div>
<!-- END:wrapper -->

<jsp:include page="bottom.jsp"></jsp:include>